﻿using System;
using DyUi.Base.Interfaces;
using DyUi.Base.Interfaces.Services;

namespace DyUi.Core.Services
{
    public class FactoryService : DyUiService, IFactoryService
    {
        public IDyUiControl CreateDyUiControl(String name)
        {
            return Controller.ControlSubSystem.CreateControlByName(name);
        }
    }
}
